<%@ page language="java" contentType="text/html; charset=UTF-8"
  pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
<title>赌我会瘦</title>
<%@ include file="/WEB-INF/include/meta.jsp"%>
<%@ include file="/WEB-INF/include/css.jsp"%>
</head>
<!-- end header -->

<body>
  <div class="page-group">
    <div class="page page-current vedio-upload-page bg-light-gray">
      <header class="bar bar-nav fb-header">
        <a class="icon icon-left pull-left"></a>
        <h1 class="title">${param.phase == 'close' ? '递交成果' : '开启挑战' }</h1>
      </header>
      <div class="content">
        <div class="content-padded">
          <div class="video-layout">
            <a href="" class="video-header" style="padding-top: 0;"> <span
              style="font-size: .7rem; color: #999;">活动前体重</span><br>43.0<span
              style="font-size: .9rem; font-weight: 500;">kg</span> <i
              class="pull-right icon icon-right"
              style="font-size: .75rem; color: #c9c9c9; position: absolute; right: 1rem; bottom: 1.4rem;"></i>
            </a>
            <div class="video-content">
              <img src="${ctx.resource}/images/bet-video.png"
                style="width: 100%; display: block;" alt="">
            </div>
          </div>
        </div>

        <div class="button-layout">
          <a href="${ctx.host}/activities/1/open" class="button button-big">重新拍摄</a>
          <a href="${ctx.host}/activities/1/close"
            class="button button-big upload-button">确认上传</a>
        </div>
        <%-- <div class="content-padded">
          <h1>${param.phase == 'close' ? '递交成果-确认视频.jpg' : '开启挑战-确认视频.jpg' }</h1>
        </div>
        <div class="content-block">
          <c:if test="${param.phase == 'close'}">
            <p><a href="${ctx.host}/activities/1/close" class="button button-big">返回</a></p>
          </c:if>
          <c:if test="${param.phase == 'open'}">
            <p><a href="${ctx.host}/activities/1/open" class="button button-big">返回</a></p>
          </c:if>
        </div> --%>
      </div>
    </div>
  </div>
  <%@ include file="/WEB-INF/include/script.jsp"%>
</body>
</html>